import {sum} from './js/m1' // 引入js模块
import movies from './json/movie.json' // 引入json模块
import './css/app.css' // 引入css模块	
import "./less/app.less"//  引入less模块
// import '@babel/polyfill';//  引入 polyfill 
// const ESLintPlugin = require('eslint-webpack-plugin');// 导入ESLint插件

import vue from './img/react.png'
import './font/iconfont.css' // 引入字体图标的样式

console.log(sum(2, 3))
console.log(movies)

document.write('Hello Webpack!')

// 测试JS中引入图片模块
const image = new Image()
image.src = vue
document.body.appendChild(image)